home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Hardware Hints / BoardId Registration / card_19779.txt < prev    next >
Encoding:
Text File  |  1989-04-24  |  2.4 KB  |  95 lines

  1. -- card: 19779 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2566
  5. -- name: Help-ids
  6.  
  7.  
  8. -- part 11 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=160 top=295 right=340 bottom=217
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1012 / 1012
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Go back
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   pop card
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 12 (field)
  28. -- low flags: 01
  29. -- high flags: 0004
  30. -- rect: left=15 top=12 right=290 bottom=499
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 3
  35. -- text size: 10
  36. -- style flags: 0
  37. -- line height: 13
  38. -- part name: 
  39.  
  40.  
  41. -- part 16 (button)
  42. -- low flags: 00
  43. -- high flags: A000
  44. -- rect: left=277 top=295 right=340 bottom=334
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 32650 / 32650
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: More...
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   go next card
  56.   -- how to hilite if user presses arrow key?
  57. end mouseUp
  58.  
  59.  
  60.  
  61. -- part 17 (button)
  62. -- low flags: 00
  63. -- high flags: A000
  64. -- rect: left=218 top=295 right=340 bottom=275
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 1016 / 1016
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Review
  73. ----- HyperTalk script -----
  74. on mouseUp
  75.   go previous card
  76.   -- how to hilite if user presses arrow key?
  77. end mouseUp
  78.  
  79.  
  80.  
  81. -- part contents for card part 12
  82. ----- text -----
  83.  
  84. Note, that, although some ids have been assigned otherwise in the past, DrvrSW and DrvrHW ids in the range 0 - 127 are meant for use by Apple; other vendors typically are assigned ranges from 128 on up (that explains the gap from Apple boards to the $01xx numbers in the example on the last card.
  85.  
  86. The Board sResource
  87.  
  88. The board sResource always has fixed values for it's sRsrc_Type fields.  They are:
  89.  
  90. CatBoard           EQU  $0001 ;Always $0001 for board sResource
  91. TypBoard          EQU  $0000 ;Always $0000 for board sResource
  92. DrSWBoard      EQU  $0000 ;Always $0000 for board sResource
  93. DrHWBoard      EQU  $0000 ;Always $0000 for board sResource
  94.  
  95. The board id goes in the board sResource, and is assigned by MacDTS.  The vendor information that goes into the board sResource is defined by the vendor; MacDTS doesn't assign it.